package cn.com.xiaoshoujia.activities.dto;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author dulei
 * @Title: ActivityJoinResultDTO
 * @Description: 团成员查询结果类
 * @Time 2017/7/30 20:17
 */
public class ActivityJoinResultDTO {
    private Long id;//活动ID
    private String sysName; //varchar(50) NOT NULL DEFAULT '' COMMENT '团长姓名',
    private Integer status; //int(2) NOT NULL DEFAULT '0' COMMENT '0 待处理，1 进行中（未满）, 2 已满团，3 已成功',
    private Date createTime; //datetime DEFAULT NULL,
    private Date finishTime; //datetime DEFAULT NULL,
    private BigDecimal discountPrice; //decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '优惠价格',
    private String productName;//活动名称
    private Integer count = 0;//报名数量
    private BigDecimal amount = new BigDecimal(0);//已交金额
    private Long pid;//所属产品活动的id
    private List<ActivityJoinDetailDTO> joins;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    public List<ActivityJoinDetailDTO> getJoins() {
        return joins;
    }

    public void setJoins(List<ActivityJoinDetailDTO> joins) {
        this.joins = joins;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }
}
